package com.ytjj.qmyx.supplychain.mapper;

import com.ytjj.qmyx.supplychain.common.model.request.BankerSiteRequest;
import com.ytjj.qmyx.supplychain.common.model.response.BankerResponse;
import com.ytjj.qmyx.supplychain.common.model.response.BankerSiteResponse;
import com.ytjj.qmyx.supplychain.mapper.entity.YxBankerSite;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BankerSiteMapper extends Mapper<YxBankerSite> {
    List<BankerSiteResponse> selectList(BankerSiteRequest bankerSiteRequest);

    Integer updateStatus(@Param("id") Integer id,
                         @Param("status") Integer status, @Param("adminName") String adminName);

    List<BankerResponse> getSpecialBrand(Integer bankerId);
}
